Jonathan Blandford [Fri, 2 Nov 2001 21:47:27 +0000 (21:47 +0000)]
Clean up height code a bit. I don't think it's completely correct yet, but
Fri Nov 2 16:45:17 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkrbtree.c (_gtk_rbtree_remove_node): Clean up height code
a bit. I don't think it's completely correct yet, but it's
getting there.
Owen Taylor [Fri, 2 Nov 2001 21:16:54 +0000 (21:16 +0000)]
Remove random + 5 for width and height. If people want padding, they
Fri Nov 2 16:14:15 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
random + 5 for width and height. If people want padding,
they should add padding. (Note the +5 isn't padding
that will always appear - it just appears in the case
where the widget is allocated it's requisition.)
(#51018, Janet Davis)
Owen Taylor [Fri, 2 Nov 2001 20:54:18 +0000 (20:54 +0000)]
Pad the structure for future expansion.
Fri Nov 2 15:53:23 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
the structure for future expansion.
Owen Taylor [Fri, 2 Nov 2001 20:48:15 +0000 (20:48 +0000)]
Patch from HideToshi Tajima (#51922)
Fri Nov 2 15:30:34 2001 Owen Taylor <otaylor@redhat.com>
Patch from HideToshi Tajima (#51922)
* gtk/gtkimmulticontext.c: Proxy set_use_preedit().
* gtk/modules/input/gtkimcontextxim.[ch]: Implement
set_use_preedit().
* gtk/modules/input/gtkimcontextxim.[ch]: If we have
to destroy the input context because we change the
client window or use_preedit, make sure we empty
the preedit string.
Owen Taylor [Fri, 2 Nov 2001 20:02:44 +0000 (20:02 +0000)]
Go to the GUP proposed ordering of buttons with [OK] in the lower right
Fri Nov 2 14:55:53 2001 Owen Taylor <otaylor@redhat.com>
* gtk/{gtkcolorseldialog.c,gtkfilesel.c,gtkfontsel.c,
gtkgamma.c,gtkmessagedialog.c}: Go to the GUP
proposed ordering of buttons with [OK] in the lower
right hand corner. Patch from Gregory Merchan,
#56331.
Jonathan Blandford [Fri, 2 Nov 2001 17:18:01 +0000 (17:18 +0000)]
remove extraneous gtk_label_clear_layout (label)
Fri Nov 2 11:51:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)
Sebastian Wilhelmi [Fri, 2 Nov 2001 15:39:04 +0000 (15:39 +0000)]
Removed -DGTK_DISABLE_COMPAT_H.
2001-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/makefile.msc, gtk/makefile.msc.in: Removed
-DGTK_DISABLE_COMPAT_H.
* docs/Changes-2.0.txt:
s/GDK_DISABLE_COMPAT_H/GDK_DISABLE_DEPRECATED/
* gtk/gtkcompat.h.in, gdk/gdkcompat.h: Removed from CVS.
Owen Taylor [Fri, 2 Nov 2001 15:27:27 +0000 (15:27 +0000)]
Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com>
* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)
Matt Wilson [Fri, 2 Nov 2001 14:49:37 +0000 (14:49 +0000)]
remove totally broken unused, non-compiling, static function.
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.
Owen Taylor [Fri, 2 Nov 2001 13:20:17 +0000 (13:20 +0000)]
Iterate through children of the action area, not of the vbox. (#58278,
Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
Iterate through children of the action area, not of
the vbox. (#58278, Sergey Kuzminov)
Havoc Pennington [Fri, 2 Nov 2001 05:22:07 +0000 (05:22 +0000)]
handle -1 argument in order to remove a workaround in Nautilus that forced
2001-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
order to remove a workaround in Nautilus that forced
GTK_ENABLE_BROKEN
* gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
Owen Taylor [Fri, 2 Nov 2001 01:13:31 +0000 (01:13 +0000)]
Patch from George Lebl to fix division by zero for full scroll bars.
Thu Nov 1 20:09:31 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Patch from George Lebl to
fix division by zero for full scroll bars. (#62114)
Owen Taylor [Fri, 2 Nov 2001 01:00:40 +0000 (01:00 +0000)]
ref/unref around gtk_widget_event() if we are going to set a flag
Thu Nov 1 19:56:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_main_do_event): ref/unref
around gtk_widget_event() if we are going to
set a flag afterwards. (#63464)
Owen Taylor [Fri, 2 Nov 2001 00:48:28 +0000 (00:48 +0000)]
Actually add the missing/broken image icon as the image for the "missing
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
Actually add the missing/broken image icon as the
image for the "missing image" stock icon.
Owen Taylor [Fri, 2 Nov 2001 00:25:14 +0000 (00:25 +0000)]
Set a reasonable default height for the window.
Thu Nov 1 19:18:34 2001 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/stock_browser.c (do_stock_browser):
Set a reasonable default height for the window.
* demos/gtk-demo/stock_browser.c (id_to_macro): Fix
bug where subsequent '-' weren't converted to '_'.
(#59550, Matthias Clasen)
* demos/gtk-demo/appwindow.c (menu_items): Don't right
justify the Help menu - just include a comment on
how to do it. (#63539, Marius Andreiana)
* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't
list GTK_ICON_SIZE_INVALID.
* demos/gtk-demo/stock_browser.c: Show the biggest available
size, not a fixed size. (Often reported, including #63539,
Marius Andreiana)
Jonathan Blandford [Fri, 2 Nov 2001 00:13:30 +0000 (00:13 +0000)]
Fix reorder_fixup, #59583
Thu Nov 1 19:11:35 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkrbtree.c (gtk_rbtree_reorder_fixup): Fix reorder_fixup,
#59583
* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): fix
warning.
Owen Taylor [Thu, 1 Nov 2001 21:54:52 +0000 (21:54 +0000)]
Make GtkFunction return boolean, not gint. (Daniel Elstner).
Thu Nov 1 16:54:00 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktypeutils.h: Make GtkFunction return boolean, not gint.
(Daniel Elstner).
Owen Taylor [Thu, 1 Nov 2001 21:50:58 +0000 (21:50 +0000)]
Add: - A ::retrieve_surrounding signal that asks the widget for context
Thu Nov 1 16:20:56 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontext.[ch]: Add:
- A ::retrieve_surrounding signal that asks the widget for
context around the insertion point.
- A ::delete_surrounding signal that asks the widget to
delete context aroudn the insertion point.
- gtk_im_context_set_context() for widgets to set context
around the insertion point in response to ::retrieve_context.
- gtk_im_context_get_context() for context to get context
around the insertion point
* gtkmarshal.list: Add BOOL:INT,INT
* gtk/gtkimmulticontext.c: Proxy the get_surrounding() /
set_surrounding() methods, and the ::retrieve_surrounding /
::delete_surrounding signals.
* gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the
GtkIMContext::retrieve_surrounding / ::delete_surrounding
signals.
Jonathan Blandford [Thu, 1 Nov 2001 20:46:01 +0000 (20:46 +0000)]
it's amazing how well things work sometimes, even when they're completely
Thu Nov 1 15:45:04 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
it's amazing how well things work sometimes, even when they're
completely wrong.
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
where you could try to collapse a node w/o it having children.
(gtk_tree_view_class_init): remove Shift L<->R as they already
existed for expand/collapse.
Jonathan Blandford [Thu, 1 Nov 2001 17:23:03 +0000 (17:23 +0000)]
Fix crash found by Matt Wilson.
Thu Nov 1 12:21:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.
Jonathan Blandford [Thu, 1 Nov 2001 06:29:35 +0000 (06:29 +0000)]
Support Shift, Control, and Shift|Control L<->R, #63475
Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475
Jonathan Blandford [Thu, 1 Nov 2001 00:06:32 +0000 (00:06 +0000)]
fix infinite loop noticed by yosh.
Wed Oct 31 18:53:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.
Michael Meeks [Wed, 31 Oct 2001 23:58:31 +0000 (23:58 +0000)]
unset the GTK_REALIZED flag so we don't re-enter when we are destroyed
2001-11-01 Michael Meeks <michael@ximian.com>
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
GTK_REALIZED flag so we don't re-enter when we are
destroyed from the plug side.
Owen Taylor [Wed, 31 Oct 2001 23:49:09 +0000 (23:49 +0000)]
Add a "menu" property and notify on it. (#62798, Padraig O'Briain)
Wed Oct 31 18:23:47 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
Add a "menu" property and notify on it. (#62798,
Padraig O'Briain)
* gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c,
gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}:
Fix set_text to take a gchar, not a guchar, and to have
a len argument.
Manish Singh [Wed, 31 Oct 2001 23:33:22 +0000 (23:33 +0000)]
fix typo to make it compile
Wed Oct 31 15:31:13 2001 Manish Singh <yosh@gimp.org>
* gtk/gtkstock.c: fix typo to make it compile
Jonathan Blandford [Wed, 31 Oct 2001 22:57:51 +0000 (22:57 +0000)]
don't know why this didn't commit
Jonathan Blandford [Wed, 31 Oct 2001 22:57:28 +0000 (22:57 +0000)]
if the widget is insensitive, draw the text insensitively, #63306
Wed Oct 31 17:27:20 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): if
the widget is insensitive, draw the text insensitively, #63306
Matthias Clasen [Wed, 31 Oct 2001 22:27:29 +0000 (22:27 +0000)]
Add stock items for most stock icons. (#61757)
* gtk/gtkstock.c: Add stock items for most stock icons. (#61757)
Matthias Clasen [Wed, 31 Oct 2001 22:07:13 +0000 (22:07 +0000)]
include initialization_versions.sgml, file-saving.sgml and
* gdk-pixbuf/gdk-pixbuf.sgml: include initialization_versions.sgml,
file-saving.sgml and module_interface.sgml.
* gdk-pixbuf/tmpl/module_interface.sgml: add short description.
* gtk/tmpl/gtkarg.sgml, gtk/tmpl/gtkdata.sgml,
gtk/tmpl/gtkcellrenderertextpixbuf.sgml: removed, since they described
no longer existent stuff and aren't included anymore.
* gdk/tmpl/color_contexts.sgml, gdk/tmpl/input_contexts.sgml,
gdk/tmpl/input_methods.sgml: removed, since they described no longer
existent stuff and aren't included anymore.
Jonathan Blandford [Wed, 31 Oct 2001 21:55:55 +0000 (21:55 +0000)]
rename gtk_selection_data_set_tree_row, #60218
Wed Oct 31 16:53:48 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreednd.c (gtk_tree_set_row_drag_data): rename
gtk_selection_data_set_tree_row, #60218
(gtk_tree_get_row_drag_data): rename
gtk_selection_data_get_tree_row, #60218
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): Actually
get this right, after the third try, #63122.
jacob berkman [Wed, 31 Oct 2001 21:52:29 +0000 (21:52 +0000)]
these should be 31, not 3. Hooray for Xatoms (and not using the XA_*
2001-10-31 jacob berkman <jacob@ximian.com>
* gdk/gdkselection.h (GDK_TARGET_STRING):
(GDK_SELECTION_TYPE_STRING): these should be 31, not 3. Hooray
for Xatoms (and not using the XA_* macros)!
Owen Taylor [Wed, 31 Oct 2001 20:41:02 +0000 (20:41 +0000)]
Add a gtk_window_get_focus() getter to determine the currently focused
Wed Oct 31 15:38:14 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.[ch] (gtk_window_get_focus): Add a
gtk_window_get_focus() getter to determine the currently
focused widget within the window. (#63145, request
from Damian Ivereigh)
Jonathan Blandford [Wed, 31 Oct 2001 20:20:12 +0000 (20:20 +0000)]
Add GTK_SELECTION_NONE enum, #61695
Wed Oct 31 14:45:08 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkenums.h (enum): Add GTK_SELECTION_NONE enum, #61695
* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): Handle new
GTK_SELECTION_NONE enum.
(_gtk_tree_selection_internal_select_node): ditto
* gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): add
constness.
* gtk/gtkcellrenderertoggle.c: more yummy constness.
* gtk/gtkclist.c (gtk_clist_set_selection_mode): g_return_if_fail
if mode == GTK_SELECTION_NONE
Jonathan Blandford [Wed, 31 Oct 2001 19:08:09 +0000 (19:08 +0000)]
Added a "cursor_changed" signal, #62850.
Wed Oct 31 14:05:17 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Added a
"cursor_changed" signal, #62850.
Matt Wilson [Wed, 31 Oct 2001 18:54:20 +0000 (18:54 +0000)]
after allocating the treedatalist, zero it to make sure the values are
2001-10-31 Matt Wilson <msw@redhat.com>
* gtk/gtktreedatalist.c (_gtk_tree_data_list_alloc): after
allocating the treedatalist, zero it to make sure the values are
cleared from any garbage that was in this chunk.
Matt Wilson [Wed, 31 Oct 2001 18:52:22 +0000 (18:52 +0000)]
remove conflict moarker
Murray Cumming [Wed, 31 Oct 2001 10:27:17 +0000 (10:27 +0000)]
gchar* args of GtkCellRendererText and GtkCellRendererToggle signal handlers are noe const gchar*.
Jonathan Blandford [Wed, 31 Oct 2001 00:20:15 +0000 (00:20 +0000)]
massize rewrite. Static models now totally work. I'm not 100% sure about
Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
rewrite. Static models now totally work. I'm not 100% sure about
row_inserted and row_changed, but I'll get those later.
Matthias Clasen [Tue, 30 Oct 2001 23:58:00 +0000 (23:58 +0000)]
Updates. (#63293)
* gdk-pixbuf/gdk-pixbuf-sections.txt,
gdk-pixbuf/tmpl/animation.sgml,
gdk-pixbuf/tmpl/module_interface.sgml: Updates. (#63293)
Sven Neumann [Tue, 30 Oct 2001 16:51:39 +0000 (16:51 +0000)]
shut up CVS
Sven Neumann [Tue, 30 Oct 2001 15:52:09 +0000 (15:52 +0000)]
use GLIB_AC_DIVERT_BEFORE_HELP() so we get proper output for configure
2001-10-30 Sven Neumann <sven@gimp.org>
* configure.in: use GLIB_AC_DIVERT_BEFORE_HELP() so we get proper
output for configure --help.
Havoc Pennington [Tue, 30 Oct 2001 14:15:01 +0000 (14:15 +0000)]
Update the IM spot location here, if text was invalidated in the visible
2001-10-30 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (changed_handler): Update the IM spot location
here, if text was invalidated in the visible area, because the
scroll offset doesn't normally change in that case, and the mark
isn't set, just implicitly moved over as text is added/removed
Jonathan Blandford [Tue, 30 Oct 2001 00:24:08 +0000 (00:24 +0000)]
Code cleanup. (gtk_separator_menu_item_class_init): Fix bugs in this code.
Mon Oct 29 19:18:35 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkseparatormenuitem.c: Code cleanup.
(gtk_separator_menu_item_class_init): Fix bugs in this code.
jacob berkman [Mon, 29 Oct 2001 21:50:06 +0000 (21:50 +0000)]
automake doesn't support conditionalized LDFLAGS, so put win32 flags in
2001-10-29 jacob berkman <jacob@ximian.com>
* gdk/Makefile.am (LDFLAGS):
* gtk/Makefile.am (LDFLAGS): automake doesn't support conditionalized
LDFLAGS, so put win32 flags in here
Jonathan Blandford [Mon, 29 Oct 2001 20:43:01 +0000 (20:43 +0000)]
Darn. I can't believe this took this long to fix.
Mon Oct 29 15:41:58 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): Darn.
I can't believe this took this long to fix.
Jonathan Blandford [Mon, 29 Oct 2001 18:56:00 +0000 (18:56 +0000)]
fix reordered signal.
Mon Oct 29 13:54:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): fix
reordered signal.
Owen Taylor [Mon, 29 Oct 2001 18:44:15 +0000 (18:44 +0000)]
Grab the focus to the fileop entry for create dir / rename file.
Mon Oct 29 12:27:51 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (gtk_file_selection_rename_file): Grab
the focus to the fileop entry for create dir / rename
file.
Owen Taylor [Mon, 29 Oct 2001 17:25:40 +0000 (17:25 +0000)]
Don't use AC_CHECK_FILE to check for a file since it always spits warnings
Mon Oct 29 12:21:49 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't use AC_CHECK_FILE to check for a
file since it always spits warnings about cross compilation,
use -f instead. It's not like we cross compile properly
anyways.
* configure.in (gtktargetlib): Move call to AC_PROG_CC
to suppress autoconf warning.
* acconfig.h: Add some missing #undefs from recent
Win32 additions.
Owen Taylor [Mon, 29 Oct 2001 16:51:37 +0000 (16:51 +0000)]
Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings)
Mon Oct 29 11:31:40 2001 Owen Taylor <otaylor@redhat.com>
* m4macros/gtk-2.0.m4: Don't try to use pkg-config
when we didn't find it. (#62944, Eric Lemings)
* m4macros/gtk-2.0.m4: Fix problem with spaces around =
sign in assignment. (#63209, Arkadiusz Miskiewicz)
Anders Carlsson [Mon, 29 Oct 2001 16:48:56 +0000 (16:48 +0000)]
Calculate the buttons size request before using it. Fixes #61696.
2001-10-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
the buttons size request before using it. Fixes #61696.
Tor Lillqvist [Mon, 29 Oct 2001 07:06:37 +0000 (07:06 +0000)]
Updates.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
* gtk-zip.sh.in: New file, used to build distribution package for
Windows.
* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
applicable with GDKVAR.
* gtk/gtk.def: Update.
* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
gethostname().
* gtk/gtkmain.c
* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
g_win32_get_package_installation_subdirectory() with the actual
DLL name saved above. Redefine above directory name macros to call
these functions. Remove some ifdefs.
* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
variable for export on Win32) also to the _vars file.
Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:
* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
when forming DLL name in some files. Set MS_LIB_AVAILABLE is
lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
win32 target, using pangowin32. Don't use the
-export-symbols-regex option on Win32, we use .def files to list
exported symbols. Check <winsock.h> (for gethostname() in
gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
prevent premature m4 expansion.
* acconfig.h: Add HAVE_WINTAB.
* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
MS_LIB_AVAILABLE, build MS import library. Install the import
libraries. If HAVE_WINTAB, link with the Wintab library.
* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
file. Install import libraries.
Tor Lillqvist [Mon, 29 Oct 2001 06:50:55 +0000 (06:50 +0000)]
New file, hand-written wrapper for the Wintab library.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* gdk/win32/libwntab32x.la: New file, hand-written wrapper for the
Wintab library.
* gdk/win32/gdkwin32.h
* gdk/win32/gdkprivate-win32.h: Reorganise to match corresponding
X11 headers better, and to enable gdkwin32.h to be installed and
included from applications, but not the *-win32.h headers.
* gdk/win32/*.c: Corresponding small changes, simplifications of
#includes.
* gdk/win32/gdkregion-win32.c: Remove.
* gdk/win32/gdkevents-win32.c (print_event): Add GDK_SETTING.
* gdk/win32/gdkfont-win32.c
* gdk/win32/gdkgeometry-win32.c: Remove unused variables.
* gdk/win32/gdkproperty-win32.c (gdk_atom_intern): Don't insert
GDK_NONE values into hash table.
Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:
* gdk/win32/Makefile.am: Actually enable building the win32
objects here, not just list all files in EXTRA_DIST. Link in the
compiled resource file from rc/gdk-win32res.lo. If HAVE_WINTAB,
copy the Wintab library into the .libs directory.
* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Don't assume the
name of the GDK DLL when fetching the icon. Use the HMODULE saved
in gdk_dll_hinstance by DllMain.
* gdk/win32/rc/Makefile.am: Build gdk-win32res.lo using the
build/win32/lt-compile-resource script.
* gdk/win32/rc/gdk.rc.in
* gtk/gtk-win32.rc.in: Use the DLL name that libtool would use.
Tor Lillqvist [Mon, 29 Oct 2001 06:48:04 +0000 (06:48 +0000)]
Use -no-undefined on Win32. Make libgdk_pixbuf_1_3_la_OBJECTS depend on
2001-10-29 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Use -no-undefined on Win32. Make
libgdk_pixbuf_1_3_la_OBJECTS depend on
gdk-pixbuf-marshal.c. Install import libraries.
* gdk_pixbuf.def: Update.
* gdk-pixbuf-io.c: (Win32) Use G_WIN32_DLLMAIN_FOR_DLL_NAME, saves
the actual DLL name of libgdk_pixbuf.
(get_libdir): Use it instead of guessing.
* io-xbm.c (gdk_pixbuf__xbm_image_begin_load): Use
g_file_open_tmp() insread of mkstemp().
Anders Carlsson [Sun, 28 Oct 2001 23:47:37 +0000 (23:47 +0000)]
Fix build.
2001-10-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkiconfactory.c (get_default_icons): Fix build.
Anders Carlsson [Sun, 28 Oct 2001 22:11:10 +0000 (22:11 +0000)]
Update struct member docs since they're gdouble now instead of gfloat.
2001-10-28 Anders Carlsson <andersca@gnu.org>
* gtk/tmpl/gtkadjustment.sgml: Update struct member docs
since they're gdouble now instead of gfloat. Fixes #55699.
Hans Breuer [Sun, 28 Oct 2001 21:28:51 +0000 (21:28 +0000)]
static correct-ness, underscore prefixing of library internal functions
2001-10-28 Hans Breuer <hans@breuer.org>
* gdk/gdk.c gdk/gdkevents.c
gdk/win32/gdkcolor-win32.c gdk/win32/gdkdnd-win32.c
gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
gdk/win32/gdkfont-win32.c gdk/win32/gdkgc-win32.c
gdk/win32/gdkim-win32.c gdk/win32/gdkmain-win32.c
gdk/win32/gdkprivate-win32.h gdk/win32/gdkproperty-win32.c
gdk/win32/gdkselection-win32.c gdk/win32/gdkwin32.h
gdk/win32/gdkwindow-win32.c gdk/win32/gdkwindow-win32.h :
static correct-ness, underscore prefixing of library internal
functions
(applied the undisputed and the win32 part. Of the latter
I'm probably the one who will change it back again, if Owen
decides that the Gdk*Impl types should not be private to Gdk)
* gdk/gdk.def : added the remaining exported functions
Matthias Clasen [Sun, 28 Oct 2001 21:20:25 +0000 (21:20 +0000)]
Forgotten file.
Matthias Clasen [Sun, 28 Oct 2001 21:15:36 +0000 (21:15 +0000)]
Documentation updates.
* gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c,
gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c,
gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates.
* docs/reference/gtk/tmpl/gtkmenuitem.sgml,
docs/reference/gtk/tmpl/gtkmenu.sgml,
docs/reference/gtk/tmpl/gtkmenushell.sgml,
docs/reference/gtk/tmpl/gtkcontainer.sgml,
docs/reference/gtk/gtk-sections.txt: Updates.
Anders Carlsson [Sun, 28 Oct 2001 17:54:50 +0000 (17:54 +0000)]
Remove note about coordinates in GdkPoint being 16-bit since they're
2001-10-28 Anders Carlsson <andersca@gnu.org>
* gdk/tmpl/regions.sgml: Remove note about coordinates in GdkPoint
being 16-bit since they're 32-bit now. Fixes #62681.
jacob berkman [Sun, 28 Oct 2001 16:49:56 +0000 (16:49 +0000)]
do not call gtk_settings_get_default() here as that requires an X
2001-10-28 jacob berkman <jacob@ximian.com>
* gtk/gtkcolorsel.c (gtk_color_selection_class_init): do not call
gtk_settings_get_default() here as that requires an X connection
(which breaks doc building with no X connection) and is not
multihead safe
(gtk_color_selection_init): delay palette loading until realize
time
(gtk_color_selection_realize): load the palette, and initialize
the global palette if it hasn't been already
* gtk/gtkpreview.c (gtk_preview_class_init): don't initialize the
visual/cmap fields of klass->info since they are gone
(gtk_preview_get_visual): just return gdk_rgb_get_visual ()
(gtk_preview_get_cmap): just return gdk_rgb_get_colormap ()
(gtk_preview_realize): don't set VISUAL and COLORMAP attributes
* gtk/gtkpreview.h (struct _GtkPreviewInfo): remove visual and
cmap fields
(gtk_preview_get_visual):
(gtk_preview_get_cmap): mark as deprecated
* docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo
changes
Owen Taylor [Sun, 28 Oct 2001 14:17:49 +0000 (14:17 +0000)]
un Oct 28 09:15:39 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontext.h (struct _GtkIMContext): Fixed
structure to have GObject not GtkObject as
parent_instance. (Jeff Franks.)
Tor Lillqvist [Sun, 28 Oct 2001 00:54:12 +0000 (00:54 +0000)]
file gtk+-zip.sh was initially added on branch gtk-1-3-win32-production.
Matthias Clasen [Sat, 27 Oct 2001 20:41:05 +0000 (20:41 +0000)]
Typo fix. Updates. Document the special values <none> and <parent> for
* gdk/x11/gdkinput.c: Typo fix.
* gdk/tmpl/input_devices.sgml: Updates.
* gtk/tmpl/gtkrc.sgml: Document the special values <none> and
<parent> for bg_pixmap.
Tim Janik [Sat, 27 Oct 2001 17:49:27 +0000 (17:49 +0000)]
cosmetics
Havoc Pennington [Sat, 27 Oct 2001 02:41:24 +0000 (02:41 +0000)]
Call update_im_spot_location here explicitly
2001-10-26 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (gtk_text_view_mark_set_handler): Call
update_im_spot_location here explicitly
(gtk_text_view_reset_im_context): don't update the spot location
here
Anders Carlsson [Sat, 27 Oct 2001 01:32:26 +0000 (01:32 +0000)]
Clarify that the string argument in gtk_accel_label_new most be non-NULL.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/tmpl/gtkaccellabel.sgml: Clarify that the string
argument in gtk_accel_label_new most be non-NULL.
This fixes #54826.
Anders Carlsson [Sat, 27 Oct 2001 01:27:34 +0000 (01:27 +0000)]
Clarify that a maximum length of 0 means infinity. This fixes #58771.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/tmpl/gtkentry.sgml: Clarify that a maximum length
of 0 means infinity. This fixes #58771.
Anders Carlsson [Sat, 27 Oct 2001 01:23:22 +0000 (01:23 +0000)]
Fix typo in docs. This fixes #62942.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreemodel.c (gtk_tree_model_get): Fix typo in docs.
This fixes #62942.
Anders Carlsson [Sat, 27 Oct 2001 01:21:14 +0000 (01:21 +0000)]
Finish a sentence. This fixes #56702.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/tmpl/gtkhandlebox.sgml: Finish a sentence.
This fixes #56702.
Anders Carlsson [Sat, 27 Oct 2001 01:17:38 +0000 (01:17 +0000)]
Clarify that we're returning a spin button in the _new function. This
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range):
Clarify that we're returning a spin button in the _new function.
This fixes #54097.
Anders Carlsson [Sat, 27 Oct 2001 01:16:09 +0000 (01:16 +0000)]
Clarify that we're returning a spin button in the _new function. This
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/tmpl/gtkspinbutton.sgml: Clarify that we're
returning a spin button in the _new function.
This fixes #54097.
Anders Carlsson [Sat, 27 Oct 2001 01:03:15 +0000 (01:03 +0000)]
Change docs for gtk_toolbar_append_item to say that it appends an item to
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/tmpl/gtktoolbar.sgml: Change docs for
gtk_toolbar_append_item to say that it appends an item
to the end of a toolbar. This fixes #60428.
Owen Taylor [Sat, 27 Oct 2001 01:03:10 +0000 (01:03 +0000)]
fix typos in ChangeLog
Anders Carlsson [Sat, 27 Oct 2001 01:01:09 +0000 (01:01 +0000)]
Remove gtk_tree_view_column_cell_event here too.
Owen Taylor [Sat, 27 Oct 2001 00:59:51 +0000 (00:59 +0000)]
Oct 26 20:55:57 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c: Revert changes to GTK_RUN_LAST.
Unfortunately, people apparently erroneously connect
to ::clicked for GtkToggleButton and expect
they know what happened in the default signal handler
instead of appropriately connecting to notification
signal ::toggled. When the revolution comes, such
people will be first against the wall.
We'll just have to go back to the old less-reliable
set-it-back hacks for handling model-view toggle
buttons and entries. :-(.
Owen Taylor [Sat, 27 Oct 2001 00:54:26 +0000 (00:54 +0000)]
Oct 26 11:54:53 2001 Owen Taylor <otaylor@redhat.com>
* */Makefile.am: Update to install images.
Anders Carlsson [Sat, 27 Oct 2001 00:48:55 +0000 (00:48 +0000)]
Remove documentation for gtk_tree_view_column_cell_event since that
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/tmpl/gtktreeviewcolumn.sgml: Remove documentation for
gtk_tree_view_column_cell_event since that function has been
removed. This fixes #62084.
Hans Breuer [Sat, 27 Oct 2001 00:41:12 +0000 (00:41 +0000)]
to simplify parsing for exported functions: - made implementation
2001-10-27 Hans Breuer <hans@breuer.org>
* gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c
gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c
gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c
gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c
gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c
gtk/gtktreestore.c gtk/gtkvbbox.c :
to simplify parsing for exported functions:
- made implementation signature static, when the local
prototype already was
- put the functions return value on it's own line
- added as space between the function name and the
opening bracket
* gtk/gtk.def : added the remaining exported functions
Anders Carlsson [Sat, 27 Oct 2001 00:25:17 +0000 (00:25 +0000)]
Add note about width having to be greater than 0. This fixes #55574.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
Add note about width having to be greater than 0. This fixes
#55574.
Anders Carlsson [Sat, 27 Oct 2001 00:18:23 +0000 (00:18 +0000)]
Fix docs to say previous instead of next.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_start):
Fix docs to say previous instead of next.
(gtk_text_iter_backward_word_start): Likewise.
This fixes bug #62980.
Anders Carlsson [Sat, 27 Oct 2001 00:13:48 +0000 (00:13 +0000)]
Change FALSE to TRUE in documentation for gdk_atom_intern, to document the
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gdk/tmpl/properties.sgml: Change FALSE to TRUE in
documentation for gdk_atom_intern, to document the
correct behavior. This fixes #58798.
Anders Carlsson [Sat, 27 Oct 2001 00:03:13 +0000 (00:03 +0000)]
Mention that the valid width is in range 0-65535 pixels. Fixes bug #56754.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcontainer.c (gtk_container_set_border_width): Mention
that the valid width is in range 0-65535 pixels. Fixes bug
#56754.
Anders Carlsson [Fri, 26 Oct 2001 23:47:38 +0000 (23:47 +0000)]
Remove a dot in the documentation. Fixes bug #62632.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtksizegroup.c (gtk_size_group_set_mode): Remove
a dot in the documentation. Fixes bug #62632.
This has got to be the most useful bug I have ever fixed :)
Anders Carlsson [Fri, 26 Oct 2001 23:43:32 +0000 (23:43 +0000)]
Ugh, broken pipe.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gdk/x11/gdkmain-x11.c: Replace int and guint with
long and gulong in some places to make the code 64-bit
clean.
(_gdk_windowing_init_check): Replace gint with gulong.
This patch was made by George Lebl and fixes bug #62113.
Anders Carlsson [Fri, 26 Oct 2001 23:43:16 +0000 (23:43 +0000)]
Replace int and guint with long and gulong in some places to make the code
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gdk/x11/gdkmain-x11.c: Replace int and guint with
long and gulong in some places to make the code 64-bit
clean.
(_gdk_windowing_init_check): Replace gint with gulong.
This patch was made by George Lebl and fixes bug #62113.
Anders Carlsson [Fri, 26 Oct 2001 23:37:21 +0000 (23:37 +0000)]
Set up destroy signals so that all windows will be destroyed when one is.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* tests/testgtk.c
(create_window_states): Set up destroy signals so that
all windows will be destroyed when one is. This fixes
bug #58133.
Anders Carlsson [Fri, 26 Oct 2001 23:06:43 +0000 (23:06 +0000)]
Don't set a fixed height on the hscale widget. This fixes "bug" #55840.
2001-10-27 Anders Carlsson <andersca@gnu.org>
* tests/testgtk.c (create_range_controls): Don't set a
fixed height on the hscale widget. This fixes "bug"
#55840.
Anders Carlsson [Fri, 26 Oct 2001 22:48:20 +0000 (22:48 +0000)]
Update GtkStyle since it's now a GObject and not a struct. This fixes
2001-10-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtk-sections.txt: Update GtkStyle since it's now a
GObject and not a struct. This fixes #55807.
Thanks to Damon for helping me out with gtk-doc and finding the solution
to this bug.
Anders Carlsson [Fri, 26 Oct 2001 19:45:06 +0000 (19:45 +0000)]
Create new "indent_expander" style property.
2001-10-26 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c:
(gtk_tree_view_class_init): Create new "indent_expander"
style property.
(gtk_tree_view_get_arrow_xrange): Add a tree argument
to the function since the xrange can change depending
on where in the tree we are.
(coords_are_over_arrow): Update function call to
gtk_tree_view_get_arrow_xrange.
(gtk_tree_view_draw_arrow): Likewise.
(gtk_tree_view_real_expand_collapse_cursor_row):
Call real_{expand|collapse}_row, so that we'll have an
animation.
Kristian Rietveld [Fri, 26 Oct 2001 18:12:34 +0000 (18:12 +0000)]
fixed a small typo
Fri Oct 26 20:13:36 2001 Kristian Rietveld <kristian@planet.nl>
* tests/Makefile.am: fixed a small typo
Kristian Rietveld [Fri, 26 Oct 2001 16:31:01 +0000 (16:31 +0000)]
Anders Carlsson suggested to use G_N_ELEMENTS here
Fri Oct 26 18:27:11 2001 Kristian Rietveld <kristian@planet.nl>
* demos/gtk-demo/list_store.c (create_model): Anders
Carlsson suggested to use G_N_ELEMENTS here
Sven Neumann [Fri, 26 Oct 2001 15:44:20 +0000 (15:44 +0000)]
gtk/gtkbutton.[ch] fixed inline comments
2001-10-26 Sven Neumann <sven@gimp.org>
* gtk/gtkbutton.[ch]
* gtk/gtkdnd.c: fixed inline comments
* gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar.
Sven Neumann [Fri, 26 Oct 2001 15:41:46 +0000 (15:41 +0000)]
gtk/gtkbutton.[ch] fixed inline comments
2001-10-26 Sven Neumann <sven@gimp.org>
* gtk/gtkbutton.[ch]
* gtk/gtkdnd.c: fixed inline comments
* gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar.
Jonathan Blandford [Fri, 26 Oct 2001 14:44:27 +0000 (14:44 +0000)]
sync minor clenup
Hans Breuer [Fri, 26 Oct 2001 14:38:12 +0000 (14:38 +0000)]
updated externals
2001-10-26 Hans Breuer <hans@breuer.org>
* gdk-pixbuf/gdk_pixbuf.def :
* gdk/gdk.def :
* gtk/gtk.def : updated externals
* gdk/win32/gdkpixmap-win32.c : removed duplicate of
gdk_window_lookup implementation. It already was in
gdk/win32/gdkwindow-win32.c
* gdk/win32/gdkproperty-win32.c : made it compile again
after GdkAtom API change
* gtk/gtk/makefile.msc.in : updated
Owen Taylor [Thu, 25 Oct 2001 21:07:53 +0000 (21:07 +0000)]
Version 1.3.10, require GLib 1.3.10.
Wed Oct 24 11:36:33 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (GTK_MICRO_VERSION): Version 1.3.10,
require GLib 1.3.10.
* NEWS: updates.
Jonathan Blandford [Thu, 25 Oct 2001 20:32:40 +0000 (20:32 +0000)]
Add support for invalid nodes. (_gtk_rbnode_rotate_right): Ditto.
Thu Oct 25 16:27:29 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkrbtree.c (_gtk_rbnode_rotate_left): Add support for
invalid nodes.
(_gtk_rbnode_rotate_right): Ditto.
(_gtk_rbtree_node_mark_invalid): New function.
(_gtk_rbtree_node_mark_valid): New function.
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): We're a
GObject, not a GtkObject.
(gtk_tree_model_sort_row_has_child_toggled): Rewrote to be more
correct.
(gtk_tree_model_sort_row_deleted): ditto.
(gtk_tree_model_sort_{un,}ref_node): Fix.
* gtk/gtktreeview.c: Protean incremental reflow support (commented
out)
* gtk/gtktreeview.h (GtkTreeViewSearchEqualFunc): change char *key
to const char *key.
* gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper):
Important 1 line fix to fix a lot of refcounting woes.
Matt Wilson [Thu, 25 Oct 2001 17:05:35 +0000 (17:05 +0000)]
call gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
2001-10-25 Matt Wilson <msw@redhat.com>
* gtk/gtktextview.c (gtk_text_view_destroy): call
gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
now invalidates) so that we remove our idle functions.
(gtk_text_view_destroy_layout): remove the first_validate_idle as
well.
Matt Wilson [Thu, 25 Oct 2001 15:17:57 +0000 (15:17 +0000)]
remove conflict mark
Matt Wilson [Thu, 25 Oct 2001 14:02:51 +0000 (14:02 +0000)]
the valid range for the 'indent' property is G_MININT to G_MAXINT. Don't
2001-10-25 Matt Wilson <msw@redhat.com>
* gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
the 'indent' property is G_MININT to G_MAXINT. Don't use
-G_MAXINT for the minimum of the 'rise' property, use G_MININT
instead.